package com.sayice.design.lab8_2;

/**
 * @author shubing
 */
public class Main {
    public static void main(String[] args) {
        AbstractGame game = new Game();
        game.addPlayer(new Player(1));
        game.addPlayer(new Player(2));
        game.addPlayer(new Player(3));
        game.notice(2, "恭喜完成任务！");
        game.noticeAll("2号玩家已完成任务");
    }
}
